
// data's base class
#include "Data_Manage.h"
// twod texture loader
#include "../twod/TwoD_TexCan.h"

#ifndef _TwoD_Manage_H
#define _TwoD_Manage_H

/** typedefine of configure-array */
typedef float CONFTYPE;

/**
 *  config-struct
 */
struct TwoD_Manage_Conf : public Data_Manage_Conf{
    // configure-array
    CONFTYPE* m_tConfs;
    // struct's construction
    TwoD_Manage_Conf();
    
};

/**
 * Manager is the for-out interface 
 */
class TwoD_Manage : public Data_Manage
{
public:
    // store 2d data
    static TwoD_TexCan* s_c2DTexLoad;
    
    /**
     * get the target tex-loader, for beginning now is only "s_c2DTexLoad"
     */
    TwoD_TexCan* getTexLoader();
    
    /**
     * choose a tex-loader and init it, for beginning now is only "s_c2DTexLoad"
     */
    int initTexLoader();
    
    // class's construction
    TwoD_Manage();
private:
    // configure-struct's instence in class
    TwoD_Manage_Conf* m_sTwoD_Manage_Conf;
    
};

#endif





